package com.ruoyi.customerService.quartzJob;

import com.ruoyi.customerService.service.ICsCollaborativeTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


/**
 * 定时任务调度测试
 *
 * @author ruoyi
 */
@Component("CsCollaborativeRefreshTask")
public class CsCollaborativeRefreshTask {
    @Autowired
    private ICsCollaborativeTaskService csCollaborativeTaskService;

    /**
     * 更新任务滞留天数及状态
     */
    public void refreshTask() {
        csCollaborativeTaskService.updateRetentionDays();
    }
}
